package com.webapp.tguide.model;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.xml.bind.annotation.XmlRootElement;

import com.google.appengine.api.datastore.Key;

@XmlRootElement
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class AudioInformation {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key audioKey;
	
	@Persistent
	private String name;
	
	@Persistent
	private String description;
	
	@Persistent
	private String audioPath;

	//Default constructor
	public AudioInformation() { }
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAudioPath() {
		return audioPath;
	}

	public void setAudioPath(String audioPath) {
		this.audioPath = audioPath;
	}

	public Key getAudioKey() {
		return audioKey;
	}

	public void setAudioKey(Key audioKey) {
		this.audioKey = audioKey;
	}
	
}
